package com.indexingsystem.boss.entity;

import java.io.Serializable;
import java.util.Date;

public class SystemRules implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String ruleId;

    private String name;

    private Integer ruleType;

    private String image;

    private String participator;

    private Integer process;

    private Date startDate;

    private Date endDate;

    private Integer processNum;

    private String description;

    private Integer timeIntervalType;

    private Integer timeIntervalNum;

    private Integer timeIntervalUnit;

    public String getRuleId() {
        return ruleId;
    }

    public void setRuleId(String ruleId) {
        this.ruleId = ruleId == null ? null : ruleId.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getRuleType() {
        return ruleType;
    }

    public void setRuleType(Integer ruleType) {
        this.ruleType = ruleType;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image == null ? null : image.trim();
    }

    public String getParticipator() {
        return participator;
    }

    public void setParticipator(String participator) {
        this.participator = participator == null ? null : participator.trim();
    }

    public Integer getProcess() {
        return process;
    }

    public void setProcess(Integer process) {
        this.process = process;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Integer getProcessNum() {
        return processNum;
    }

    public void setProcessNum(Integer processNum) {
        this.processNum = processNum;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Integer getTimeIntervalType() {
        return timeIntervalType;
    }

    public void setTimeIntervalType(Integer timeIntervalType) {
        this.timeIntervalType = timeIntervalType;
    }

    public Integer getTimeIntervalNum() {
        return timeIntervalNum;
    }

    public void setTimeIntervalNum(Integer timeIntervalNum) {
        this.timeIntervalNum = timeIntervalNum;
    }

    public Integer getTimeIntervalUnit() {
        return timeIntervalUnit;
    }

    public void setTimeIntervalUnit(Integer timeIntervalUnit) {
        this.timeIntervalUnit = timeIntervalUnit;
    }
    
    public SystemRules() {
		// TODO Auto-generated constructor stub
	}

	public SystemRules(String ruleId, String name, Integer ruleType, String image, String participator, Integer process,
			Date startDate, Date endDate, Integer processNum, String description, Integer timeIntervalType,
			Integer timeIntervalNum, Integer timeIntervalUnit) {
		super();
		this.ruleId = ruleId;
		this.name = name;
		this.ruleType = ruleType;
		this.image = image;
		this.participator = participator;
		this.process = process;
		this.startDate = startDate;
		this.endDate = endDate;
		this.processNum = processNum;
		this.description = description;
		this.timeIntervalType = timeIntervalType;
		this.timeIntervalNum = timeIntervalNum;
		this.timeIntervalUnit = timeIntervalUnit;
	}

	@Override
	public String toString() {
		return "SystemRules [ruleId=" + ruleId + ", name=" + name + ", ruleType=" + ruleType + ", image=" + image
				+ ", participator=" + participator + ", process=" + process + ", startDate=" + startDate + ", endDate="
				+ endDate + ", processNum=" + processNum + ", description=" + description + ", timeIntervalType="
				+ timeIntervalType + ", timeIntervalNum=" + timeIntervalNum + ", timeIntervalUnit=" + timeIntervalUnit
				+ "]";
	}
    
    
}